<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Configuring the hbase.master.logcleaner.ttl Parameter on Different Big Data Platforms">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002199954317.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002164587978">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Configuring the hbase.master.logcleaner.ttl Parameter on Different Big Data Platforms</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002164587978"></a><a name="EN-US_TOPIC_0000002164587978"></a>

<h1 class="topictitle1">Configuring the hbase.master.logcleaner.ttl Parameter on Different Big Data Platforms</h1>
<div><div class="section"><h4 class="sectiontitle">Procedure</h4><p><strong>CDH as the big data platform</strong></p>
<ol><li><span>Use a browser to log in to Cloudera Manager.</span></li><li><span>Choose <span class="uicontrol"><b>Cluster &gt; HBase</b></span>.</span></li><li><span>On the cluster page, click <span class="uicontrol"><b>Configuration</b></span>, search for <strong>hbase.master.logcleaner.ttl</strong> in the search box, and press <strong>Enter</strong>.</span></li><li><span>In the row that contains the parameter name, select the time for retaining the log file, and save the file.</span></li><li><span>Restart the service.</span></li></ol>
<p></p>
<p><strong>MRS as the big data platform</strong></p>
<ol><li><span>Log in to the MRS management page.</span></li><li><span>On the HBase cluster page, click <span class="uicontrol"><b>Configurations</b></span>.</span></li><li><span>On the <strong>Configurations</strong> page, enter <strong>hbase.master.logcleaner.ttl</strong> in the search box, enter the parameter value (unit: ms) in the row that contains the parameter name, and save the settings.</span></li><li><span>Restart the service after changing the parameter value.</span></li></ol>
</div>
<p></p>
<p><strong>TDH as the big data platform</strong></p>
<ol><li><span>Use a browser to log in to Transwarp Data Hub.</span></li><li><span>Choose <span class="uicontrol"><b>Dashboard &gt; Cluster</b></span> and click <strong>Hyperbase</strong> to go to the cluster page.</span></li><li><span>Click <span class="uicontrol"><b>Config</b></span>.</span><p><ul><li>If the <strong>hbase.master.logcleaner.ttl configuration</strong> item already exists, enter the parameter value (unit: ms) in the row that contains the configuration item and save the settings.</li><li>If the configuration <strong>item hbase.master.logcleaner.ttl</strong> does not exist, click <span class="uicontrol"><b>Add Custom Property</b></span>. Enter <strong>Config Name</strong>, <strong>Value</strong>, and <strong>Config File</strong> (the default value is <strong>hbase-site.xml</strong>), and click <span class="uicontrol"><b>OK</b></span>.</li></ul>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002199954317.html">FAQs</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>